const state = {
    screenWidth: 0
}
const mutations = {
    // 设置屏幕宽度
    setScreenWidth(state, width) {
        state.screenWidth = width
    }
}

const getters = {
    getScreenWidth(state) {
        return state.screenWidth
    }
}

const actions = {
    
}

export default {
    namespaced: true,
    state,
    mutations,
    actions,
    getters
}
